//test.cpp
//used for testing classes and functions
#include "Cell.cpp"
#include "Map.h"
#include "Unit.cpp"
#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
using namespace std;

int Ask(string question = "")
{
    int data;
    cout << question << endl;
    cin >> data;
    return data;
}
string Askstring(string question = "")
{
       string data;
       cout << question << endl;
       cin >> data;
       return data;
       }
       


int main()
{
    int target;
    int input;
    while(input != 9)
    {
    cout << "\n1 - get\n2 - set\n3 - load\n4 - save\n9 - quit\n";
    cin >> input;
    switch(input)
    {
                 case 1:
                      target = Ask("what Cell are you looking for?");
                      
                      
                      cout << "\n1 - pop\n2 - buildings\n4 - back\n";
                      cin >> input;
                      switch(input)
                      {
                                   case 1:
                                        continue;
                                   case 2:
                                        continue;
                                   case 3:
                                        continue;
                                   case 4:
                                        break;
                                   default:
                                   break;
                                   }
                 case 2:
                      cout << "\n\n1 - pop\n2 - number\n3 - type\n4 - back\n5 - buildings\n";
                      cin >> input;
                      switch(input){
                                    case 1:
                                         continue;
                                    case 2:
                                         continue;
                                    case 3:
                                         continue;
                                    case 4:
                                         break;
                                    case 5:
                                         continue;
                                    default:
                                    break;
                                    }
                 case 3:
                      Load();
                      continue;
                      
                 case 4:
                      Save();
                      continue;
                      
                      
                 case 9:
                      break;
                      
                 default:
                 break;
                 }
                 }
    return 0;
}


                
    
    
